package drds.server.util;

import java.util.concurrent.BlockingQueue;
import java.util.concurrent.ThreadFactory;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;

public class Executor extends ThreadPoolExecutor {

	protected String name;

	public Executor(String name, int size, BlockingQueue<Runnable> queue, ThreadFactory threadFactory) {
		super(size, size, Long.MAX_VALUE, TimeUnit.NANOSECONDS, queue, threadFactory);
		this.name = name;
	}

	public String getName() {
		return name;
	}

}